/*
	David Bray
	BrayWorth Pty Ltd
	e. david@brayworth.com.au

	MIT License

*/
.pointer {
  cursor: pointer;
}

.gravatar.gravatar-80 {
  width: 80px;
}

.gravatar.gravatar-32 {
  width: 32px;
}

.gravatar.gravatar-16 {
  width: 16px;
}

.bg-gradient-blue {
  background: #050A30 linear-gradient(90deg, #050a30, #7ec8e3) repeat-x !important;
}

.bg-gradient-orange {
  background: #FFA500 linear-gradient(90deg, #966100, #FFD68A) repeat-x !important;
}

.bg-gradient-pink {
  background: #eb000a linear-gradient(90deg, #eb000a, #ff00c3) repeat-x !important;
}

@media screen and (min-width: 768px) {
  .has-advanced-upload {
    outline: 1px dashed #337ab7;
    border-radius: .5rem;
    padding: .3rem;
    outline-offset: -.15rem;
    background-color: white;

  }

  div:not(.email-attachment-container).has-advanced-upload::before {
    display: inline-block;
    width: 90%;
    margin-left: 0.25rem;
    vertical-align: 0.25rem;
    content: "drag files here to upload";
    color: #9e9e9e;
    font-size: .75rem;

  }

  div.email-attachment-container.has-advanced-upload::after {
    display: inline-block;
    width: 90%;
    margin-left: 0.25rem;
    vertical-align: 0.25rem;
    content: "drag files here to upload";
    color: #9e9e9e;
    font-size: .75rem;
  }
}

@media print {
  .d-print-w100 {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
    flex: auto;
  }
}

@media screen {

  /* file upload css */
  .box__dragndrop,
  .box__uploading,
  .box__success,
  .box__error {
    display: none;
  }

  .has-advanced-upload .box__dragndrop {
    padding: .6rem;
    display: inline;
  }

  .is-dragover {
    background-color: grey;
  }

  .is-uploading input[type="file"] {
    visibility: none;
    display: none;
  }

  .is-uploading .box__uploading {
    display: flex;
  }

}

body.upscroll>nav.sticky-top,
body.upscroll>footer {
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

body.upscroll [data-role="content-primary"] {
  height: auto;
}

.bi-2x::before {
  font-size: 1.5rem;
  line-height: 1.1rem;
  margin: 0 -.35rem 0;
}

.bi-flip-horizontal {
  display: flex;
  transform: scale(-1, 1) translate(0, .2em);
}

.bi-spin {
  -webkit-animation: bi-spin 2s infinite linear;
  animation: bi-spin 2s infinite linear;
  display: flex !important;
}

.bi-pulse {
  -webkit-animation: bi-spin 1s infinite steps(8);
  animation: bi-spin 1s infinite steps(8);
}

.swiping {
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}
